import { createStore } from 'vuex'
export interface IStore {
  loading: boolean
}
export default createStore<IStore>({
  state: {
    loading: false
  },
  mutations: {
    changeLoading(state: IStore, payload: boolean) {
      state.loading = payload
    }
  },
  actions: {},
  modules: {}
})
